/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Calculadora;

/**
 *
 * @author HP
 */
public class Igual extends OperacionBinaria {

    public Igual(Operacion op1, Operacion op2) {
        super(op1, op2);
    }

    @Override
    public Number Operar() {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }
    
    @Override
    public String toString(){
        return op1.Operar().toString() + " = " + op2.Operar().toString() + " ";
    }
    
}
